package com.laizhenghua.share.device.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.laizhenghua.share.common.core.domain.R;
import com.laizhenghua.share.device.domain.entity.Region;

import java.util.List;

/**
 * TODO
 *
 * @Description
 * @Author laizhenghua
 * @Date 2025/6/29 14:39
 **/
public interface IRegionService extends IService<Region> {

    List<Region> treeSelect(String rootCode);

    R<String> getNameByCode(String code);
}
